package com.RLFZ.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.RLFZ.entity.NocvNews;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * (nocv_news)数据Mapper
 *
 * @author zh
 * @since 2022-08-25 17:16:58
 * @description 
*/
@Mapper
@Repository
public interface NocvNewsMapper extends BaseMapper<NocvNews> {

    @Select("select * from nocv_news order by create_time desc limit 5")
    List<NocvNews> listNewsLimit5();
}
